/*form*/
body .xw-form{
    height: 100%;
    width: 100%;
    overflow: auto;
    background: #fff;
    font-size: 13px !important;
}
.xw-form .xw-btnRow{
    background: #f2f2f2;
    padding: 5px;
    height: 42px;
    border: 1px solid #dcdcdc;
}
.xw-form .xw-btnRow .layui-btn{
    padding: 0 22px
}
.xw-form .layui-tab{
    margin: 0;
    height: calc(100% - 42px);
}

.xw-form .layui-tab .layui-tab-title li{
    font-weight: bold;
}
.xw-form .layui-tab[type="nav"] .layui-tab-title {
    border-bottom: none;
}
.xw-form .layui-tab[type="nav"] .layui-tab-title li{
    display: block !important;
}
.xw-form .layui-tab .layui-tab-title li:hover{
	color: #009688;
}
.xw-form .layui-tab .layui-tab-title li.layui-this{
	background: #ffffff;
}
.xw-form .layui-tab[type=nav]  .layui-tab-title li.layui-this:after{
	border-bottom: none;
}

.xw-form .layui-tab-content{
    margin: 0;
    padding: 0px;
    height: calc(100% - 40px);
    overflow: auto;
}
.xw-form .xw-form-formType-div{
    height: calc(100% - 42px);
    overflow: auto;
    padding: 5px;
}
.xw-form .layui-tab-item{
    height: 100%;
    padding: 5px;
}
.xw-form .layui-form-item{
    margin: 0;
    display: flex;
}
.xw-form .layui-form-item .layui-input-inline{
    margin: 0;
}
.xw-form .layui-form-item .layui-form-mid{
    padding: 5px 0!important; 
    line-height: 20px; 
    margin:0 10px;
}
.xw-form .layui-form{
	min-height: 100%;
	overflow: auto;
	display: flex;
}
.xw-form .xw-form-table{
    width: 100%;
    overflow: hidden;
    height: auto;
}
.xw-form .xw-form-table .sections{
	clear: both;
	width: calc(100% + 20px);

}
.xw-form .xw-form-table .sections>.table-cell{
    padding: 3px;
    text-align: left;
    position: relative;
    float: left;
	padding-right: 20px;
	min-height: 30px;
    margin-bottom: 6px;
}
.xw-form .xw-form-table .sections>div.line {
    padding-top: 0 !important;
    padding-bottom: 8px;
}
.xw-form .xw-form-table div.sections ~ div.sections{
    padding-top: 10px !important;
}
.xw-form .xw-form-table .sections>div.line h3{
   border-bottom:1px solid #dcdcdc;
   padding-bottom: 8px; 
   margin-left: -8px;
   font-weight: bold;
    position: relative;
}
.xw-form .xw-form-table  .sections>div.line  .line-btn{
    float: right;
    margin-top: -10px;
    margin-right: 20px;
}
.xw-form .xw-form-table .sections>.table-cell .table-title{
	line-height: 30px;
	float: left;
}
.xw-form .xw-form-table .sections>.table-cell .table-input{
	flex: 1;
	float: left;
	position: relative;
}
.xw-form .xw-form-table .sections>.table-cell .table-input.remark{
	display: flex;
}
.xw-form .xw-form-table .sections>.table-cell .table-input.remark .layui-input{
	padding-right: 5px !important;
	border-right:none !important;
}
.xw-form .xw-form-table .sections>.table-cell .table-input.remark span{
	display: block;
	border: 1px solid #e6e6e6;
	padding-right: 5px !important;
	line-height: 28px;
	border-left: none;
	margin-left: -1px;
    padding-left: 1px;
    border-radius:2px;
}

.xw-form .xw-form-table .sections>.table-cell .table-input [form-datatype="select"]{
	display: block!important;
	height: 100%;
	width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    bottom: 0;
}
.xw-form .table-input [form-datatype="grid"]{
	/*display: -webkit-box;
    display: -webkit-flex;
    display: flex;*/
}
.xw-form .table-input [form-datatype="grid"] .layui-table-view{
	width: 100%;
	/*height:auto !important;*/
	-webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

.xw-form .xw-form-table .sections>.table-cell .table-input .fileUploadContainer{
	background:none !important;
}
.xw-form .xw-form-table .sections>.table-cell .table-input>.layui-input{
	flex: 1;
	float: left;
}

.xw-form .xw-search .xw-searchQuery{
	margin-top: 7px;
}
.xw-form .xw-search .layui-input-inline{
	line-height: inherit;
}
.xw-form .table-cell .xw-search .xw-searchQuery{
	margin-top: 7px;
}
.xw-form .xw-search .layui-input-inline .layui-input{
	margin-top: 7px;
}

.xw-form .xw-form-table .sections>.table-cell .table-input>.remark{
	line-height: 28px;
	padding: 0 5px;
	white-space:nowrap;
}
.xw-form .xw-form-table .sections>.table-cell .fileUpload-link{
	line-height: 28px;
	color:#428bca;
	text-decoration:underline;
}

.xw-form .xw-form-table .sections>.table-cell .req{
    position: absolute;top: -2px;left:-5px;display: none;
}
.xw-form .xw-form-table .sections>.table-cell>.table-title.f-orage{
    position: relative;
}
.xw-form .xw-form-table .sections>.table-cell>.table-title.f-orage .req{
    /*display: block;*/
}
.xw-form .xw-input{
    height: 30px;
    line-height: 30px;
}
.xw-form .xw-percent{
    position: absolute;
    right:5px;
    top: 7px;
}
.xw-form .xw-percent ~ input{
    padding-right: 20px;
}
.xw-form [disabled],
.xw-form .layui-disabled,
.xw-form .layui-disabled:hover,
.xw-form .xm-select-dis input{
    background:#f9f9f9 !important;
    cursor:not-allowed;
    color: #464646 !important;
}
.xw-form .layui-checkbox-disbaled[lay-skin=primary] span{
	color: #464646 !important;
}
.xw-form .layui-radio-disbaled,
.xw-form .layui-radio-disbaled:hover,
.xw-form .layui-checkbox-disbaled,
.xw-form .layui-checkbox-disbaled:hover{
	background:none !important;
}

/*搜素选择类型*/
.xw-form .select-search-body{
	min-height: 30px;
	position: relative;
	display: table;
	width: 100%; 
}
.xw-form .select-search-body .select-search-input{
	line-height: 28px;
	height: 100%;
	color: #00F;
	width: calc(100% - 37px);
	border:1px solid #e6e6e6;
	padding: 0 10px;
	min-height: 30px;
	overflow: hidden;
}
.xw-form .select-search-body .select-search-input span{
	padding-right: 10px;
	overflow: hidden;
	float: left;
}
.xw-form .select-search-body .select-search-input u{
	cursor:pointer;
	float: left;
}
.xw-form .select-search-body .select-search-input  sup{
	font-size: 100%;
    cursor: pointer;
    line-height: 18px;
    float: left;
    margin-left: 3px;
}
.xw-form .select-search-body .select-search-input  sup:hover,
.xw-form .select-search-body .select-search-input u:hover{
	color: #4FA7FF;
}

.xw-form .select-search-body .select-search-icon{
	margin: 0;
    padding: 0 10px;
    border-radius:0;
    border:1px solid #e6e6e6;
    border-left:none;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    display: table-cell;
    vertical-align: bottom;
    background: #fff;
}
.xw-form .select-search-body .select-search-icon .iconfont{
	line-height: 1px;	
}
.xw-form .select-search-body .select-search-input[edit="false"],
.xw-form .select-search-body .select-search-input[edit="false"]~.select-search-icon{
	background:#eeeeee;
}

.xw-form .layui-form-select {
	height: 30px;
}



/*图片类型*/
.xw-form .layui-form-item-img{
	text-align: center;
	width: 80px;
	height:80px;
	line-height: 80px;	
	background-position: center;
	background-size: 100% 100%;
	margin-right: 5px;
    border: 1px solid #e6e6e6;
    position: relative;
}
.xw-form .layui-form-item-img img{
	width: 100%;
	height: 100%;
	float: left;
	background: #fff;
}
.xw-form .layui-form-item-img .layui-form-item-img-mask{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:rgb(0 0 0 / 32%);
	display: none;
	cursor: pointer;
}
.xw-form .layui-form-item-img .layui-form-item-img-mask .edit{
	display: none;
}

.xw-form .layui-form-item-img .layui-form-item-img-mask .iconfont{
	color: #f1f1f1;
    line-height: 0;
    font-size: 20px;
    margin-right: 5px;
}
.xw-form .layui-form-item-img .layui-form-item-img-mask .iconfont:hover{
	color: red;
}
.xw-form .layui-form-item-img:hover .layui-form-item-img-mask{
	display: block;
}

.layui-form-item-img-upload{
	text-align: center;
	width: 80px;
	height:80px;
	line-height: 80px;	
	background-position: center;
	background-size: 100% 100%;
	margin-right: 5px;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}
.xw-form div[form-datatype="img"][edit="false"] .layui-form-item-img-upload{
	background: #f9f9f9;
	cursor: context-menu;
}
.xw-form div[form-datatype="img"][edit="false"] .layui-form-item-img-mask .del{
	display: none !important;
}
.xw-form div[form-datatype="img"][edit="false"] .layui-form-item-img-mask .edit{
	display: none !important;
}
.xw-form div[form-datatype="img"][edit="false"] .layui-form-item-img-upload{
	display: none !important;
}

.xw-form div[form-datatype="img"][showdesc="true"] .layui-form-item-img-mask{
	line-height: 4;
}
.xw-form div[form-datatype="img"][showdesc="true"] .layui-form-item-img-mask .edit{
	display: block;
}


.layui-upload-choose{
	padding: 0;
}
.layui-form-item-img-upload-select{
	padding: 5px 0;
    background: #1e9fff;
    color: #fff;
    text-align: center;
    margin-top: 21px;
}
.layui-form-item-img-desc{
	position: absolute;
    z-index: 1;
    bottom: 0;
    color: #fff;
    width: 100%;
    text-align: left;
    line-height: 24px;
    background: rgb(33 37 28 / 51%);
    max-height: 60px;
    overflow: auto;
    white-space: nowrap;
}

.xw-form  .layui-textarea{
	height: 75px !important;
	min-height: 75px !important;
}
